<{for $var=0 to count($list)-1 step 7}>
<table class="ui-table ui-body">
    <thead>
    <tr>
        <th class="pct10">类别</th>
        <{for $index=$var to $var+6 step 1}>
        <th class="pct10">周<{$list[$index]['day']}><br /><{$list[$index]['date']}></th>
        <{/for}>
    </tr>
    </thead>
    <tbody>
    <{for $posIndex=0 to count($pos)-1 step 1}>
    <tr <{if $posIndex eq 5 }> style="background-color:#f4f5f9" <{/if}>>
        <th><{$pos[$posIndex]}></th>

        <{for $index=$var to $var+6 step 1}>
        <td>
            <{foreach from=explode(',',$list[$index][$posIndex]) item=arrid}>
                <{if $arrid gt -1}>
                    <{if $posIndex eq 5}>
                        <div class="title status_<{$event[$arrid]['status']}>" onclick="location.href='<{u('scheduleEvent?eid='|cat:$event[$arrid].eid)}>'"><{$event[$arrid]['title']}></div>
                        <div class="detail">
                            <div class="detail_container">
                            <div><span class="label">活动日期：</span><{$event[$arrid]['eventDate']}></div>
                            <div><span class="label">活动名称：</span><{$event[$arrid]['title']}></div>
                            <div><span class="label">活动对接人：</span><{$event[$arrid]['operatorName']}></div>
                            <div><span class="label">报名类型：</span><{$signTypeKv[ $event[$arrid]['signType'] ]}></div>
                            <{if $event[$arrid]['signType'] neq 0}>
                                <div><span class="label">名额：</span><{$event[$arrid]['quota']}></div>
                                <div><span class="label">名单确定：</span><{$event[$arrid]['listSureTime']|date_format:"%Y-%m-%d %H:%M"}></div>
                            <{/if}>
                                <{if $event[$arrid]['mem']}>
                            <div><span class="label">补充说明：</span><{$event[$arrid]['mem']}></div>
                                <{/if}>
                            </div>
                        </div>
                    <{else}>
                        <div class="title status_<{$article[$arrid]['status']}>" onclick="location.href='<{u('scheduleArticle?aid='|cat:$article[$arrid].aid)}>'"> [<{$businessTypeKv[$article[$arrid]['businessType']]}>]<{$article[$arrid]['title']}></div>
                        <div class="detail">
                            <div class="detail_container">
                            <div><span class="label">推文日期：</span><{$article[$arrid]['publishDate']}></div>
                            <div><span class="label">推文标题：</span><{$article[$arrid]['title']}></div>
                            <div><span class="label">类型：</span><{$businessTypeKv[$article[$arrid]['businessType']]}></div>
                            <{if $article[$arrid]['businessType'] eq 1 || $article[$arrid]['businessType'] eq 3}>
                                <div><span class="label">费用：</span><{$article[$arrid]['fee']}></div>
                                <div><span class="label">是否开票：</span><{if $article[$arrid]['needInvoice'] eq 1}>是<{else}>否<{/if}></div>
                            <{/if}>
                                <{if $article[$arrid]['mem']}>
                            <div><span class="label">备注说明：</span><div class="mem"><{$article[$arrid]['mem']}></div></div>
                                <{/if}>
                            <div><span class="label">内容对接：</span><{$article[$arrid]['writerName']}></div>
                            <div><span class="label">绑定活动：</span>
                                <{if $article[$arrid]['bindEvent'] eq 0}>
                                    无关联活动
                                <{else}>
                                <{$bindEevent[$article[$arrid]['bindEvent']]['title']}>
                                <div class="bindevent">
                                    <div><span class="label">日期：</span><{$bindEevent[$article[$arrid]['bindEvent']]['eventDate']}></div>

                                    <div><span class="label">活动对接人：</span><{$bindEevent[$article[$arrid]['bindEvent']]['operatorName']}></div>
                                    <div><span class="label">报名类型：</span><{$signTypeKv[ $bindEevent[$article[$arrid]['bindEvent']]['signType'] ]}></div>
                                    <{if $bindEevent[$article[$arrid]['bindEvent']]['signType'] neq 0}>
                                    <div><span class="label">名额：</span><{$bindEevent[$article[$arrid]['bindEvent']]['quota']}></div>
                                    <div><span class="label">名单确定：</span><{$bindEevent[$article[$arrid]['bindEvent']]['listSureTime']|date_format:"%Y-%m-%d %H:%M"}></div>
                                    <{/if}>
                                    <{if $bindEevent[$article[$arrid]['bindEvent']]['mem'] }>
                                    <div><span class="label">补充说明：</span><div class="mem"><{$bindEevent[$article[$arrid]['bindEvent']]['mem']}></div></div>
                                    <{/if}>
                                </div>
                                <{/if}>
                            </div>
                            </div>
                        </div>
                    <{/if}>
                <{/if}>
            <{/foreach}>
        </td>
        <{/for}>
    </tr>
    <{/for}>

    </tbody>
</table>
<{/for}>